package com.family.bean;

import java.util.Date;

public class FamilyPersonInfo {
    /**
     *主键ID
     */
    private Integer id;

    /**
     *成员名称
     */
    private String userName;

    /**
     *成员名称拼音
     */
    private String spell;

    /**
     *出生日期
     */
    private Date birthDate;

    /**
     *死亡日期
     */
    private Date deathDate;

    /**
     *父亲
     */
    private Integer fatherId;

    /**
     *母亲
     */
    private Integer motherId;

    /**
     *配偶
     */
    private Integer mateId;

    /**
     *年龄
     */
    private Integer age;

    /**
     *性别
     */
    private String sex;

    /**
     *族代
     */
    private Integer spanNum;

    /**
     *联系电话
     */
    private String mobile;

    /**
     *工作类型
     */
    private String workType;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getSpell() {
        return spell;
    }

    public void setSpell(String spell) {
        this.spell = spell == null ? null : spell.trim();
    }

    public Date getBirthDate() {
        return birthDate;
    }

    public void setBirthDate(Date birthDate) {
        this.birthDate = birthDate;
    }

    public Date getDeathDate() {
        return deathDate;
    }

    public void setDeathDate(Date deathDate) {
        this.deathDate = deathDate;
    }

    public Integer getFatherId() {
        return fatherId;
    }

    public void setFatherId(Integer fatherId) {
        this.fatherId = fatherId;
    }

    public Integer getMotherId() {
        return motherId;
    }

    public void setMotherId(Integer motherId) {
        this.motherId = motherId;
    }

    public Integer getMateId() {
        return mateId;
    }

    public void setMateId(Integer mateId) {
        this.mateId = mateId;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }

    public Integer getSpanNum() {
        return spanNum;
    }

    public void setSpanNum(Integer spanNum) {
        this.spanNum = spanNum;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile == null ? null : mobile.trim();
    }

    public String getWorkType() {
        return workType;
    }

    public void setWorkType(String workType) {
        this.workType = workType == null ? null : workType.trim();
    }
}